package com.lianniu.web.staff.dao;

import com.lianniu.web.product.model.Page;
import com.lianniu.web.seller.vo.Supply;
import com.lianniu.web.staff.vo.Staff;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StaffDao {
    int deleteByPrimaryKey(String id);

    int insert(Staff record);

    int insertSelective(Staff record);

    Staff selectByPrimaryKey(String id);

    Staff selectByLoginName(@Param("loginName")String loginName);

    int updateByPrimaryKeySelective(Staff record);

    int updateByPrimaryKey(Staff record);
}
